package com.example.bootintegration.configuration;

import com.example.bootintegration.datasource.JpaBeansRegistrar;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 配置JPA相关的对象， EntityManagerFactory， EntityManager，TransactionManager
 * @author Quintoy
 * @date 12/30/22
 */
@Configuration("jpaConfiguration")
@AutoConfigureAfter(DataSourceConfiguration.class)
@Import(JpaBeansRegistrar.class)
public class JpaConfiguration {
}
